Skip to content

updated requirements.txt and fixed issue with pipeline to convert bio…#19

Open
darefalola wants to merge 1 commit intomainfrom
2025_update
Open

updated requirements.txt and fixed issue with pipeline to convert bio…#19
darefalola wants to merge 1 commit intomainfrom
2025_update

Conversation

@darefalola
Copy link
Copy Markdown
Contributor

The pipeline is trying to int()-cast a Biopython position that was turned into its string repr. Instead of a plain number, exon['exon_end'] contains 'ExactPosition(10742191)', so int('ExactPosition(10742191)') blows up with the error below:

ValueError: invalid literal for int() with base 10: 'ExactPosition(10742191)

This error also shows up in the database handler as it tries to insert ExactPosition(10742191) into the database directly for columns that have be dimensioned as Integers.

This PR fixes this error in these two places.

This PR also updates the requirements.txt to update some package versions.

@darefalola darefalola requested a review from bilalebi October 6, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant